﻿using Microsoft.Win32;
using System;
using System.Collections.Generic;
//using System.Linq;
using System.Windows.Forms;

namespace FaceBookApp
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            try
            {
                Registry.ClassesRoot.CreateSubKey("Microsoft.Workflow").CreateSubKey("CLSID");
            }
            catch (Exception)
            {
            }

            Database db = new Database();
            if (!db.CheckEvaluate())
            {
                return;
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frmMain());
        }
    }
}
